/*
 * SensorMessage.cpp
 *
 *  Created on: Feb 10, 2009
 *      Author: Andrzej Olchawa
 *      mailto: andrzejolchawa@gmail.com
 *      http://www.hardtechnology.org
 *      This is a part of the Armazd project, which is covered by
 *      GNU GPL v2 license.
 */

#include "SensorMessage.h"

SensorMessage::SensorMessage() {}

SensorMessage::~SensorMessage() {}

void SensorMessage::setReporterName(string name)
{
	reporterName = name;
}

void SensorMessage::setReporterAddress(string address)
{
	reporterAddress = address;
}

void SensorMessage::setReporterPort(int port)
{
	reporterPort = port;
}

void SensorMessage::setSourceName(string name)
{
	sourceName = name;
}

void SensorMessage::setSourceAddress(string address)
{
	sourceAddress = address;
}

void SensorMessage::setSourcePort(int port)
{
	sourcePort = port;
}

void SensorMessage::setTargetName(string name)
{
	targetName = name;
}

void SensorMessage::setTargetAddress(string address)
{
	targetAddress = address;
}

void SensorMessage::setTargetPort(int port)
{
	targetPort = port;
}

void SensorMessage::setMessage(string msg)
{
	message = msg;
}

string SensorMessage::getReporterName()
{
	return reporterName;
}

string SensorMessage::getReporterAddress()
{
	return reporterAddress;
}

int SensorMessage::getReporterPort()
{
	return reporterPort;
}

string SensorMessage::getSourceName()
{
	return sourceName;
}

string SensorMessage::getSourceAddress()
{
	return sourceAddress;
}

int SensorMessage::getSourcePort()
{
	return sourcePort;
}

string SensorMessage::getTargetName()
{
	return targetName;
}

string SensorMessage::getTargetAddress()
{
	return targetAddress;
}

int SensorMessage::getTargetPort()
{
	return targetPort;
}

string SensorMessage::getMessage()
{
	return message;
}
